How could I keep out users to modify my code

Hi, all

I am playing a role as a DOORS database manager, at the same time, I develop some DXL attributes in my Module, recently, I found out that someone modify my codes so that these codes doesn't work properly, therefore, I want to know, is there any way to keep out my users to modify my codes, thank you!

Looking for your relpy、hints or tips etc.

Best wishes!

Sincerely, Aven
Aven_HIT - Thu Apr 22 10:46:33 EDT 2010

Re: How could I keep out users to modify my code
SystemAdmin - Thu Apr 22 10:52:20 EDT 2010

Include the main code for DXL attribute from a common network location, to which (and the inc files) you have all rights and users only read access.

See "File inclusion" in DXL Help.

Re: How could I keep out users to modify my code
SudarshanRao - Thu Apr 22 12:45:19 EDT 2010

You can restrict users from modifying code by specifying "Read-only" access to Attribute Definition.

Choose to edit attribute, and specify R access to required users under the tab "Access (Definition)".

Hope this helps.

Cheers,
Sudarshan

Re: How could I keep out users to modify my code
Aven_HIT - Fri Apr 23 10:59:39 EDT 2010

SudarshanRao - Thu Apr 22 12:45:19 EDT 2010
You can restrict users from modifying code by specifying "Read-only" access to Attribute Definition.

Choose to edit attribute, and specify R access to required users under the tab "Access (Definition)".

Hope this helps.

Cheers,
Sudarshan

Hi, SudarshanRao

Firstly, thanks for your help, indeed, I want to hide these code from others, could I?

Sincerely, Aven

Re: How could I keep out users to modify my code
Aven_HIT - Fri Apr 23 11:02:21 EDT 2010

SystemAdmin - Thu Apr 22 10:52:20 EDT 2010
Include the main code for DXL attribute from a common network location, to which (and the inc files) you have all rights and users only read access.

See "File inclusion" in DXL Help.

Hi, Markinen

Could you please interpret it in details, sample codes are more appreciated, thanks!

Sincerely, Aven

Re: How could I keep out users to modify my code
SudarshanRao - Fri Apr 23 13:02:49 EDT 2010

Aven_HIT - Fri Apr 23 10:59:39 EDT 2010
Hi, SudarshanRao

Firstly, thanks for your help, indeed, I want to hide these code from others, could I?

Sincerely, Aven

If you specify just R access for a user to attribute definition, the user cannot view the code. All options in "Edit Attribute" dialog box will be greyed out.

Re: How could I keep out users to modify my code
Mathias Mamsch - Fri Apr 23 14:05:36 EDT 2010

Aven_HIT - Fri Apr 23 10:59:39 EDT 2010
Hi, SudarshanRao

Firstly, thanks for your help, indeed, I want to hide these code from others, could I?

Sincerely, Aven

Aven, if you really want to hide the code even from other DXL programmers (who can still get your code by using +AttrDef ad = find("yourSecretAttribute",mod); print ad.dxl+) you would need to encrypt the code using the Telelogic/IBM tool and then put only an "#include <encryptedCode.inc>" in your attribute DXL. While the DOORS encryption is not unbreakable, it is probably safe enough to prevent spying users from taking a look at your code. Regards, Mathias

Re: How could I keep out users to modify my code
Aven_HIT - Tue Apr 27 09:22:24 EDT 2010

SudarshanRao - Fri Apr 23 13:02:49 EDT 2010
If you specify just R access for a user to attribute definition, the user cannot view the code. All options in "Edit Attribute" dialog box will be greyed out.

Hi, SudarshanRao

It's really amazing, I'd try it at once, thanks for your advice!

Sincerely, Aven

Re: How could I keep out users to modify my code
Aven_HIT - Tue Apr 27 09:29:35 EDT 2010

Mathias Mamsch - Fri Apr 23 14:05:36 EDT 2010
Aven, if you really want to hide the code even from other DXL programmers (who can still get your code by using +AttrDef ad = find("yourSecretAttribute",mod); print ad.dxl+) you would need to encrypt the code using the Telelogic/IBM tool and then put only an "#include <encryptedCode.inc>" in your attribute DXL. While the DOORS encryption is not unbreakable, it is probably safe enough to prevent spying users from taking a look at your code. Regards, Mathias

Hi, Mathias

I'm greatly attracted by your advice. Would you please tell me some more details!

About the "*.inc" file, I found it in the DOORS setup directory, and couldn't open it, I had a great curiosity in it, how could I make it myself and by which tools would realize it, thanks!

Looking for your reply!

Sincerely, Aven

Re: How could I keep out users to modify my code
Mathias Mamsch - Tue Apr 27 10:57:28 EDT 2010

Aven_HIT - Tue Apr 27 09:29:35 EDT 2010
Hi, Mathias

I'm greatly attracted by your advice. Would you please tell me some more details!

About the "*.inc" file, I found it in the DOORS setup directory, and couldn't open it, I had a great curiosity in it, how could I make it myself and by which tools would realize it, thanks!

Looking for your reply!

Sincerely, Aven

Hi Aven, I looked at the IBM Website, I could not find the encryption tool. I know such a tool exists - maybe someone else can help here?
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and DOORS

Re: How could I keep out users to modify my code
SystemAdmin - Tue Apr 27 11:21:28 EDT 2010

Mathias Mamsch - Tue Apr 27 10:57:28 EDT 2010
Hi Aven, I looked at the IBM Website, I could not find the encryption tool. I know such a tool exists - maybe someone else can help here?


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and DOORS

Copying one of my comments from LinkedIn DOORS group:

The DXL excryption software for DOORS 9.0 and versions prior to that can be downloaded from the "Telelogic DOORS product legacy downloads" page at

http://www-01.ibm.com/support/docview.wss?uid=swg21380552

(select 9.0 to find the encrypt tool)

9.2 encryption tool is included in the 9.2 download, which you can find if you navigate the horrible mess of IBM pages starting from customer sign on to Passport Advantage etc..

https://www-112.ibm.com/software/howtobuy/passportadvantage/paocustomer/passporthome.nsf/pao/startpage_en_us?OpenDocument

(is the page where I landed after logging on)

From here onwards it was possible to find the DOORS downloads and checking the contents of the Multilingual 9.2 package the encryption tool is included.

Re: How could I keep out users to modify my code
Aven_HIT - Wed Apr 28 10:55:14 EDT 2010

Mathias Mamsch - Tue Apr 27 10:57:28 EDT 2010
Hi Aven, I looked at the IBM Website, I could not find the encryption tool. I know such a tool exists - maybe someone else can help here?


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and DOORS

Hi, Mathias

Many thanks to you and best wishes!

Sincerely, Aven